.my-box {
    box-shadow: 10px 10px 20px grey;
    border: 1px solid lightgray;
    padding: 15px;
    display: block;
    width: max-content;
}